import { contextBridge, ipcRenderer } from 'electron'

contextBridge.exposeInMainWorld('electronAPI', {
  createNote: (content) => ipcRenderer.invoke('create-note', content),
  getNotes: () => ipcRenderer.invoke('get-notes')
})